package cn.tedu.lucky.draw.server.service;

import cn.tedu.lucky.draw.server.protocol.po.Prize;
import cn.tedu.lucky.draw.server.protocol.query.PrizeQuery;

import java.util.List;

/**
 * 服务层-奖品接口
 */
public interface IPrizeService {
    /**
     * 查询所有奖品
     */
    List<Prize> findAll(PrizeQuery prizeQuery);

    /**
     * 新增奖品
     */
    void save(Prize prize);

    List<Prize> findPrizeByActivityId(Long id);

    List<Prize> findNoBindPrize(Long id);
}
